package com.duck.communication.domain.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PostPojo {
    //主键
    private Integer postId;
    //发帖用户
    private Integer userId;
    //帖子标题
    private String title;
    //帖子内容
    private String content;
    //帖子类型
    private String type;
    //创建帖子时间
    private LocalDateTime createTime;
    //更新帖子时间
    private LocalDateTime updateTime;
}
